{template 'common/header'}
<script language="JavaScript" src="{MODULE_URL}template/public/js/delete.js"></script>
<div>

    <!-- Nav tabs -->
    <ul class="nav nav-tabs" role="tablist">
        <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">所有照片</a></li>
        <!--
        <li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">Profile</a></li>
        <li role="presentation"><a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">Messages</a></li>
        <li role="presentation"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">Settings</a></li>
        -->
    </ul>

    <!-- Tab panes -->
    <div class="tab-content">
        <div role="tabpanel" class="tab-pane active" id="home">
            <!--列表循环开始-->
            <div class="panel panel-default">
                <div class="panel-heading">管理图片</div>
                <div class="panel-body">
                    <table class="table table-hover">
                        <thead>
                        <tr>
                            <th>图片ID</th>
                            <th>状态</th>
                            <th>来源</th>
                            <th>上传者头像</th>
                            <th>上传者昵称</th>
                            <th>图片</th>
                            <th>上传时间</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        {loop $picture $key $picture}
                        {template 'picture/picture_item'}
                        {/loop}
                        </tbody>
                    </table>
                </div>
            </div>
            <!--列表循环结束-->
            {$pagination}
        </div>
        <!--
        <div role="tabpanel" class="tab-pane" id="profile">...</div>
        <div role="tabpanel" class="tab-pane" id="messages">...</div>
        <div role="tabpanel" class="tab-pane" id="settings">...</div>
        -->
    </div>
</div>
{template 'common/footer'}